@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #e9edf1;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

div:focus{
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main{
  min-height: 100%
}

.el-menu{
  background: #ebecef
}
.app-container {
  padding: 5px 10px;
  background: #e9edf1;
}


.restFormTable{
  border:1px solid #a5acb5;;
  min-width: 1000px;
  width: 95%;
  background: #e9edf1;
  font-size: 14px;
  border-collapse:collapse;
  margin-bottom: 5px;
  td{
    border: 1px solid #a5acb5;
    height: 26px;
    line-height: 26px;
  }
  .rest-tit{
    width: 80px;
    text-align: center;
    position: relative;
    white-space: nowrap;
    &.canRow{
      white-space: normal;
    }
    &.left{
      text-align: left;
    }
    .el-checkbox__label{
      display: none;
    }
    .rest-mask{
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 11;
      bottom: 0;
      background: rgba(255,255,255,0)
    }
    .td-value{
      min-width: 190px;
      display: inline-block;
    }
  }
  .rest-name{
    width: 150px;
    text-align: center;
  }
  .rest-input{
    width: 150px;
    .el-autocomplete{
      width:100%;
    }
    .el-input-group__append{
      padding: 0 8px;
      border:0;
      background: #e9edf1;
      border-left: 1px solid #a5acb5
    }
    .el-select{
      width: 100%;
    }
  }
  .el-input-number--mini{
    width:100%;
  }
  .el-input__inner{
    padding:0 3px;
    border: 0;
    border-radius: 0;
  }

  .el-form-item--mini .el-form-item__content,.el-input__inner{
    line-height: 26px;
  }

}

.el-pagination{
  white-space: normal;
}

.el-dialog__header {
  padding: 15px 13px 10px;
}

.el-dialog--center {
  .el-dialog__body{
    padding: 10px 25px 0;
    .el-pagination{
      margin-top: 10px;
    }
  }
  .el-dialog__footer{
    padding-bottom: 12px;
  }
}

.el-dialog__body{
  padding: 0 10px;
}


.sel-labelleft{
  float: left;
}
.sel-labelright{
  float: right; 
  color: #8492a6; 
  font-size: 13px;
  min-width: 150px;
  text-align: right;
}

.hide-select{
  display:none
}

.noSelect {
  display:none
}